package com.cn.wxwinnie.java.circulation;

/**
 * @author 潇湘暮雨 E-mail:wxwinnie@hotmail.com
 * 
 * @version 创建时间：2014年3月27日 下午5:07:59
 * 
 */
public class TestFor {

	public static void main(String[] args) {
		// for(;;){
		// System.out.println(32);
		// }

		for (int i = 0; i < 6; i++) {
			System.out.println(i + "    ");
		}

		System.out.println("########################");
		System.out.println("########################");
		System.out.println("########################");
		int n = 0;
		for (TestFor.firstFunction(); TestFor.secondFunction(); TestFor.thirdFunction()) {
			System.out.println("For body");
			n++;
			if (n > 5)
				break;//return;
		}
	}

	public static boolean firstFunction() {
		System.out.println("first Function");
		return true;
	}
	
	public static boolean secondFunction() {
		System.out.println("Second Function");
		return true;
	}

	public static boolean thirdFunction() {
		System.out.println("third Function");
		return true;
	}

}
